package cn.sdormitory.service;

import cn.sdormitory.retention.AppRetentionCountVO;
import cn.sdormitory.retention.DormitoryRetention;
import cn.sdormitory.retention.RetentionVO;

import java.util.List;

/**
 * @author : yy
 * @date: 2024/9/11 11:23
 * @description:
 */
public interface AppRetentionService {
    List<RetentionVO> listTodayRetention();

    void retentionRegister(Long studentId, Long classId,String registrantUser);

    void delRetention(Long id);

    List<AppRetentionCountVO> getAppRetentionCount(Long userId, String rq);

    List<RetentionVO> getRetentionStuByClassId(Long classId, String rq);
    
    List<DormitoryRetention> getMonthlyStatisticsRetention(List<Long> classIds, String accessDate);
}
